<template>
  <div class="f-r j-b page-title">
    <div class="pagetitle">{{ title }}</div>
    <el-button v-if="showBack" @click="$emit('back')">返回</el-button>
  </div>
</template>

<script>
export default {
  name: 'BackPage',
  props: {
    title: String,
    showBack: Boolean
  },
  data() {
    return {}
  },
  methods: {}
}
</script>

<style scoped lang="scss">
.page-title {
  font-size: 32px;
  margin-top: 10px;
  margin-bottom: 33px;
}

</style>
